package br.com.kariri.smartschool.ui.util.tooltip
{
	import mx.events.ToolTipEvent;

	public class ToolTipUtil
	{
		public function ToolTipUtil()
		{
		}
		
		public static function createCustomTip(body:String, event:ToolTipEvent):void {
			var ptt:KToolTip = new KToolTip();
			ptt.bodyText = body;
			event.toolTip = ptt;
		}
		
		public static function positionTip(event:ToolTipEvent):void{
			event.toolTip.x=event.currentTarget.x + event.currentTarget.width + 10;
			event.toolTip.y=event.currentTarget.y + 45;    
		}
		
	}
}